package com.sanchunhui.psc.data.protocol

// 小组成员
data class Member(var id:Int = 0, var name: String, var status:String)
//data class Member(var id:Long, var name: String, var icon: String,var status: Int,var alarm_message: String,
//                   var created: String,var changed: String,var last_logined: String,var id_card: String,
//                   var phone: String,var password: String, var salt: String,var company_id: Long,var project_id: Long,
//                   var team_id: Long,var job_id: Long,var permission_group_id : Long) {
//
////    var id: Long = 0 // 成员id
////    var name: String? = null // 成员名称
////    var icon: String? = null // 头像
////    var alarm_message: String? = null // 最近一次报警消息
////    var status: Int = 0 // 状态：0，开工，1完工
////    var created: String? = null // 创建时间
////    var changed: String? = null // 更新时间
////    var last_logined: String? = null //最后登录时间
////    var id_card: String? = null    // 身份证号
////    var phone: String? = null // 手机号
////    var password: String? = null // 登录密码
////    var salt: String? = null // 不知字段意义
////    var company_id: Long = 0 // 所属公司id
////    var project_id: Long = 0 // 所属项目id
////    var team_id: Long = 0 // 所属小组id
////    var job_id: Long = 0 // 所属工作id
////    var permission_group_id: Long = 0 // 小组权限id
////    override fun toString(): String {
////        return ("Member [id=" + id + ", name=" + name + ", icon=" + icon + ", status=" + status + ", created=" + created
////                + ", changed=" + changed + ", last_logined=" + last_logined + ", id_card=" + id_card + ", phone="
////                + phone + ", password=" + password + ", salt=" + salt + ", company_id=" + company_id + ", project_id="
////                + project_id + ", team_id=" + team_id + ", job_id=" + job_id + ", permission_group_id="
////                + permission_group_id + "]")
////    }
//
//
//}
